Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub HandleLinkPropertyChanged( _ ByVal sender As Object, _ ByVal e As PropertyChangedEventArgs _ ) |
C# | |
---|---|
protected virtual void HandleLinkPropertyChanged( object sender, PropertyChangedEventArgs e ) |
Parameters
- sender
- e
- preferably a ModelChangedEventArgs that describes what changed and how
This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.
If the e argument is a ModelChangedEventArgs, this first calls OnChanged in order to raise a Changed event to notify this model's consumers.
If the System.ComponentModel.PropertyChangedEventArgs.PropertyName is the same as the LinkFromPath, LinkToPath, LinkFromParameterPath, LinkToParameterPath, this automatically calls DoLinkPortsChanged. If the property name is LinkLabelNodePath, this automatically calls DoLinkLabelChanged.